package br.com.usp.shared;



import com.google.gwt.user.client.rpc.IsSerializable;

public class EndEvent extends FlowObjectsProcessDTO implements IsSerializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public EndEvent()
	{
		setTipo("EndEvent");
	}
	
	
	public EndEvent(BMMDTO bmm)
    {
		    this();
	    	setId(bmm.getId());
	    	setDescricao(bmm.getDescricao());
	    	setName(bmm.getDescricao());
	    	setRepresentacao(bmm.getRepresentacao());
	    	setLeft(bmm.getLeft());
	    	setTop(bmm.getTop());
	    	setTipo(bmm.getTipo());
	}
	
	public String getTipo()
	{
		return "EndEvent";
	}
}
